import { enClassName } from '../global/enumHelper'
import type { ModelParams } from '../global/typeHelper'
import { RoomObject } from './share/RoomObject'
import { TransformConfig } from './share/TransformConfig'

export class RoomModel extends RoomObject {
  className = enClassName.RoomModel

  private _modelParams: ModelParams

  /**
   * 内层容器的变换
   */
  private innerBoxTransform: TransformConfig

  /**
   * 外层容器的变换，用于吸附相关的信息记录
   */
  private outerBoxTransform: TransformConfig

  constructor(modelParams: ModelParams) {
    super()
    this.innerBoxTransform = new TransformConfig()
    this.outerBoxTransform = new TransformConfig()
    this._modelParams = modelParams || {
      modelUrl: 'xxx',
    }
  }
}
